package com.cgsrp.cgsrp_baby.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_baby.domain.ThingTag;
import com.cgsrp.cgsrp_baby.dao.ThingTagMapper;
import com.cgsrp.cgsrp_baby.service.ThingTagService;
@Service
public class ThingTagServiceImpl implements ThingTagService{

    @Resource
    private ThingTagMapper thingTagMapper;

    @Override
    public int deleteByPrimaryKey(Integer thingId,String tagId) {
        return thingTagMapper.deleteByPrimaryKey(thingId,tagId);
    }

    @Override
    public int insert(ThingTag record) {
        return thingTagMapper.insert(record);
    }

    @Override
    public int insertSelective(ThingTag record) {
        return thingTagMapper.insertSelective(record);
    }

}
